// vw,vh计算函数
@function vh($px){
  @return ($px / 1080) * 100vh
}

@function vw($px){
  @return ($px / 1920) * 100vw
}
@mixin clearfix {
  &:after {
    content: "";
    display: table;
    clear: both;
  }
}

@mixin scrollBar {
  &::-webkit-scrollbar-track-piece {
    // background: #d3dce6;
    background: rgba(0,0,0,0);
  }

  &::-webkit-scrollbar {
    width: 6px;
    border-radius: 5px;
  }

  &::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background: #1890ff;
  }
}

@mixin relative {
  position: relative;
  width: 100%;
  height: 100%;
}
